queuestats.aef:
***************
Queue Statistics Template

Description:
============
This script is designed to be used as a tool for an agent, supervisor
or administrator to view the queue statistics on a browser.  The script
will gather the desired statistics, substitute their values into the
HTML template page and return the HTML page

How it works:
=============
(1) User clicks a link to view queuestats
(2) use Get Reporting Statistic step to gather desired information 
	(calls in queue, agents logged in, and agents busy in this case)
(3) substitute values into the queueStats-template.html
(4) send HTTP response back to user

Instructions:
=============
For whatever statistics you would like to monitor, create an approprate
variable and utilize the Get Reporting Statistic step, remembering
to provide the name of the CSQ you would like to monitor.  The name of
the CSQ is a parameter so you can modify it in Application Administrator.

You will need an HTML template file for the web page that will display the 
statistics.  The HTML template in this example is:
	"C:\Program Files\wfavvid\Documents\user\en_US\queueStats-template.html"
with the contents:
	<html>
	<head></head>
	<body>
		<center>
		<h1>Queue Statistics</h1>
		<font face=verdana size=1>
		<table border=0 cellpadding=3>
			<tr>
				<td bgcolor="F5F5F5" align=right><font face=verdana size=1>Calls in Queue</td>
				<td><font face=verdana size=1>%callsInQueue%</td>
			</tr>
			<tr>
				<td bgcolor="F5F5F5" align=right><font face=verdana size=1>Agents Logged In</td>
				<td><font face=verdana size=1>%agentsLoggedIn%</td>
			</tr>
			<tr>
				<td bgcolor="F5F5F5" align=right><font face=verdana size=1>Agents Busy</td>
				<td><font face=verdana size=1>%agentsBusy%</td>
			</tr>
		</table>
		</font>
		</center>
	</body>
	</html>
	
Then, remember to change the statistics to strings (.toString()) and
substitute them into the template page with the Keyword Transform
step.

